﻿using System;
using System.Collections.Generic;

namespace BLL.Entities
{
  public class DynamicEnumType : BaseBusinessEntity
  {
    public Guid CompanyID { get; set; }
    public string TypeName { get; set; }
    public Dictionary<string, DynamicEnumTypeValue> Values { get; set; }
    public bool IsGlobal { get; set; }

    public DynamicEnumType()
    {
        Values = new Dictionary<string, DynamicEnumTypeValue>();
    }
  }

  public class DynamicEnumTypeValue : BaseBusinessEntity
  {
    public Guid EnumTypeID { get; set; }
    public string Value { get; set; }
    public bool IsHidden { get; set; }
  }
}